/*
 * =====================================================================================
 *
 *       Filename:  main.cpp
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  02/14/2011 05:31:16 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  dp (8023), dp8023@gmail.com
 *        Company:  
 *
 * =====================================================================================
 */

#include "nokia.h"

int main(void)
{
	factorymethod *pfactorymethod = new N96factory();
	nokia *pnokia = pfactorymethod->createnokia();
	pnokia->makecall("13904332543");

	delete pnokia;
	delete pfactorymethod;

	pfactorymethod = new N95factory();
	pnokia = pfactorymethod->createnokia();
	pnokia->makecall("13323421741");

	delete pnokia;
	delete pfactorymethod;

	return 0;
}

